#include <QtGui/QApplication>
#include "MainWindow.h"


namespace
{
    static const QString APP_FIRST = "0";
    static const QString APP_SECOND = "0";
    static const QString APP_THIRD = "5";
    static const QString APP_VERSION_BASE = "%1.%2.%3";
}

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    a.setOrganizationName("HullujussiApplications");
    a.setOrganizationDomain("www.hullujussi.com");
    a.setApplicationName("D20 Manager");
    a.setApplicationVersion(APP_VERSION_BASE.arg(APP_FIRST).arg(APP_SECOND).arg(APP_THIRD));

    MainWindow w;
    w.show();

    return a.exec();
}
